package net.ericaro.neojavagen.expressions;

/**
 * <b>NotEqualEqualityExpression</b> ::= "!=" <{@link net .ericaro .neojavagen .expressions .EqualityExpression EqualityExpression}>
 * 
 * @author eric@ericaro.net
 */
public class NotEqualEqualityExpression extends net.ericaro.neojavagen.JavaPartComposition implements net.ericaro.neojavagen.expressions.EqualityExpressionRest {
	private net.ericaro.neojavagen.expressions.EqualityExpression equalityExpression;

	public NotEqualEqualityExpression(net.ericaro.neojavagen.expressions.EqualityExpression equalityExpression) {
		super();
		this.equalityExpression = equalityExpression;
	}

	public net.ericaro.neojavagen.expressions.EqualityExpression getEqualityExpression() {
		return equalityExpression;
	}

	public void setEqualityExpression(net.ericaro.neojavagen.expressions.EqualityExpression equalityExpression) {
		this.equalityExpression = equalityExpression;
	}

	@Override
	public java.lang.String toString() {
		return print("!=", equalityExpression);
	}
}
